package com.lanxin.judge.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-08-11
 */
@TableName("lc_approval")
public class LcApproval implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oid", type = IdType.AUTO)
    private Integer oid;

    /**
     * 单据类型
     */
    @TableField("doctype")
    private String doctype;

    /**
     * 单据编号
     */
    @TableField("docNo")
    private String docNo;

    /**
     * 单据id
     */
    @TableField("docid")
    private Integer docid;

    /**
     * 申请人
     */
    @TableField("proposer")
    private Integer proposer;

    /**
     * 申请人部门
     */
    @TableField("deptid")
    private Integer deptid;

    /**
     * 流程id
     */
    @TableField("flowid")
    private Integer flowid;

    /**
     * 节点id
     */
    @TableField("nodeid")
    private Integer nodeid;

    /**
     * 申请人id
     */
    @TableField("approvaluid")
    private Integer approvaluid;

    /**
     * 状态
     */
    @TableField("status")
    private String status;

    /**
     * 申请意见
     */
    @TableField("opinion")
    private String opinion;

    /**
     * 提交时间
     */
    @TableField("submitDate")
    private LocalDateTime submitDate;

    /**
     * 审批时间
     */
    @TableField("approvalDate")
    private LocalDateTime approvalDate;

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }
    public String getDoctype() {
        return doctype;
    }

    public void setDoctype(String doctype) {
        this.doctype = doctype;
    }
    public String getDocNo() {
        return docNo;
    }

    public void setDocNo(String docNo) {
        this.docNo = docNo;
    }
    public Integer getDocid() {
        return docid;
    }

    public void setDocid(Integer docid) {
        this.docid = docid;
    }
    public Integer getProposer() {
        return proposer;
    }

    public void setProposer(Integer proposer) {
        this.proposer = proposer;
    }
    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }
    public Integer getFlowid() {
        return flowid;
    }

    public void setFlowid(Integer flowid) {
        this.flowid = flowid;
    }
    public Integer getNodeid() {
        return nodeid;
    }

    public void setNodeid(Integer nodeid) {
        this.nodeid = nodeid;
    }
    public Integer getApprovaluid() {
        return approvaluid;
    }

    public void setApprovaluid(Integer approvaluid) {
        this.approvaluid = approvaluid;
    }
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }
    public LocalDateTime getSubmitDate() {
        return submitDate;
    }

    public void setSubmitDate(LocalDateTime submitDate) {
        this.submitDate = submitDate;
    }
    public LocalDateTime getApprovalDate() {
        return approvalDate;
    }

    public void setApprovalDate(LocalDateTime approvalDate) {
        this.approvalDate = approvalDate;
    }

    @Override
    public String toString() {
        return "LcApproval{" +
            "oid=" + oid +
            ", doctype=" + doctype +
            ", docNo=" + docNo +
            ", docid=" + docid +
            ", proposer=" + proposer +
            ", deptid=" + deptid +
            ", flowid=" + flowid +
            ", nodeid=" + nodeid +
            ", approvaluid=" + approvaluid +
            ", status=" + status +
            ", opinion=" + opinion +
            ", submitDate=" + submitDate +
            ", approvalDate=" + approvalDate +
        "}";
    }
}
